package com.ruoyi.gxdj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新增题库对象 info_question_naire
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public class InfoQuestionNaire extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目id */
    private Long projectId;

    /** 总分 */
    @Excel(name = "总分")
    private Long totalScore;

    /** 有几道题 */
    @Excel(name = "有几道题")
    private Integer questionNum;

    /** 题目内容 */
    private String questionContent;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String questionTitle;

    private Float sumScore;

    public Float getSumScore() {
        return sumScore;
    }

    public void setSumScore(Float sumScore) {
        this.sumScore = sumScore;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }
    public void setQuestionNum(Integer questionNum)
    {
        this.questionNum = questionNum;
    }

    public Integer getQuestionNum()
    {
        return questionNum;
    }
    public void setQuestionContent(String questionContent) 
    {
        this.questionContent = questionContent;
    }

    public String getQuestionContent() 
    {
        return questionContent;
    }
    public void setQuestionTitle(String questionTitle) 
    {
        this.questionTitle = questionTitle;
    }

    public String getQuestionTitle() 
    {
        return questionTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("totalScore", getTotalScore())
            .append("questionNum", getQuestionNum())
            .append("questionContent", getQuestionContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("questionTitle", getQuestionTitle())
            .toString();
    }
}
